import example_pybind

# 使用导出的函数
input_vec = [1.0, 2.0, 3.0, 4.0]
output_vec = example_pybind.process_vector(input_vec)
print(f"Processed vector: {output_vec}")

# 使用导出的类
calc = example_pybind.Calculator()
print(f"5.5 + 3.2 = {calc.add(5.5, 3.2)}")
print(f"5.5 - 3.2 = {calc.subtract(5.5, 3.2)}")

calc.set_name("Super Calculator")
print(f"Calculator name: {calc.get_name()}")